package dao;

import dao.sql.HsqldbDAOFactory;

public abstract class AbstractDAOFactory {
    public static AbstractDAOFactory createHsqldbDAOFactory() throws Exception {
        return new HsqldbDAOFactory();
    }

//    public static AbstractDAOFactory createMapDAOFactory() throws LibraryException {
//        return new FilesDAOFactory();
//    }

    public abstract ImageEntryDAO getImageEntryDAO() throws Exception;

    public abstract FolderDAO getFolderDAO() throws Exception;

    public abstract ApplicationSettingsDAO getApplicationSettingsDAO() throws Exception;

    public abstract void close() throws Exception;
}
